//
//  PlaylistView.h
//  Kugou-OC
//
//  Created by BH on 16/5/12.
//  Copyright © 2016年 Sunny. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@class MusicInfoModel;

@interface PlaylistView : UITableView<UITableViewDataSource,UITableViewDelegate>

//播放列表数据源
@property(nonatomic,strong)NSArray *playList;
//当前播放索引
@property(nonatomic,assign)NSInteger currentIndex;
//当前播放器
@property(nonatomic,strong)AVPlayerItem *currentItem;

@property(nonatomic,copy)void ((^Play)(NSArray *playList,NSInteger playIndex));

@end
